package com.lin.cloud.disk.entity.request.file;

import com.lin.cloud.disk.common.entity.request.AccountRequestDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @program: cloud-disk
 * @description: 搜索文件请求实体类
 * @author: Lin
 * @create: 2021-03-09 15:43
 **/
@Data
public class SearchFileRequest extends AccountRequestDTO {

    @ApiModelProperty(value = "文件名", name = "fileName")
    @NotBlank(message = "文件名不能为空")
    private String fileName;
}
